﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BattleShips.GameClients.ResponseRunners {
    class SearchForARoom : IResponseRunner {
        public void RunResponse(IUserCommands form, global::BattleShips.Common.Response response) {
            if(response.Payload.Trim().Equals("error:0")){
                form.ShowMessage("No rooms found . Please try again later.");
                form.NoRoomsFound();
            }
        }
    }
}
